package com.lf.mapper;

import com.lf.model.EbComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    List<EbComment> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
    int delete(Integer enId);
    public  int  save(EbComment ebComment);
    int updateByPrimaryKey(EbComment ebComment);
    int getMaxPage(int pageSize);
    EbComment findById(int ecId);

}
